package com.moon.interview.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("question_bank_question")
public class QuestionBankQuestion extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /** 题库ID */
    @TableField("question_bank_id")
    private Long questionBankId;

    /** 题目ID */
    @TableField("question_id")
    private Long questionId;

    /** 用户Id */
    @TableField("user_id")
    private Long userId;
}
